package com.yidu.ladder.delivery.service;
import java.text.ParseException;
import java.util.Map;

import com.yidu.ladder.base.domain.Subarea;
import com.yidu.ladder.delivery.domain.BusinessRecsiptVo;
import com.yidu.ladder.system.domain.Customer;

/**
 * 业务受理业务逻辑接口
 * @author lw
 * @since 2020/1/10
 */
public interface BusinessRecsiptService {
	
	/**
	 * 查询所有带条件分页
	 * @param businessRecsiptVo
	 * @return
	 */
	public Map<String, Object> findAllBusinessRecsiptWithPage(BusinessRecsiptVo businessRecsiptVo);
	
	/**
	 * 根据电话号码查询客户
	 * @param customerPhone
	 * @return
	 */
	public Customer findCustomerByCustomerPhone(String customerPhone);
	
	/**
	 * 查询当前日期
	 * @param date 日期
	 * @return 查询的数量
	 */
	public int dateBusinessSizeQuery(String date);
	
	/**
	 * 添加业务受理单
	 * @param businessRecsipt
	 * @return
	 */
	public boolean addBusinessRecsipt(Map<String, Object> param)throws ParseException;
	
	/**
	 * 根据分拣码查询分区
	 * @param mnemoniCode
	 * @return
	 */
	public Subarea findCityCodeByQuery(String mnemoniCode);

}
